package com.chuangyang.fixboxmaster.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by vanshu on 15/3/23 13:48.
 */
public class LoginInfo extends  BaseInfo {

    @SerializedName("result")
    public LoginInfoResult result;

    public class LoginInfoResult {
        @SerializedName("id")
        public int id;


        @SerializedName("phoneNumber")
        public String phoneNumber;

        @SerializedName("level")
        public int level;

        @SerializedName("accessToken")
        public String accessToken;


        @SerializedName("workState")
        public int workState;  // 1是上班 ，0 是下班


        @SerializedName("idCardNo")
        public String idCardNo;

        @SerializedName("bankCardNo")
        public String bankCardNo;  //银行卡号

        @SerializedName("bankPlace")
        public String bankPlace;  //银行卡开户行


        @SerializedName("balance")
        public double balance;

        @SerializedName("canTakeBalance")
        public double cash;

        @SerializedName("userName")
        public String userName;


        @Override
        public String toString() {
            return "LoginInfoResult{" +
                    "id=" + id +
                    ", phoneNumber='" + phoneNumber + '\'' +
                    ", level=" + level +
                    ", accessToken='" + accessToken + '\'' +
                    '}';
        }
    }


}
